package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 商城订单详情
 * TableName : MALL_ORDER_DETAIL
 * ClassName : com.swlz.entity.MallOrderDetail
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-17 01:19:28
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("MALL_ORDER_DETAIL")
public class MallOrderDetail  {


	/**
	 * <pre>订单详情编号 - ORDER_DETAIL_ID</pre>
	 **/
	@Id
	private Long orderDetailId;
	/**
	 * <pre>产品编号 - PRODUCT_ID</pre>
	 **/
	private Long productId;
	/**
	 * <pre>订单编号 - ORDER_ID</pre>
	 **/
	private Long orderId;
	/**
	 * <pre>订单详情商品数量 - ORDER_DETAIL_NUM</pre>
	 **/
	private Integer orderDetailNum;
	/**
	 * <pre>订单详情实际价格 - ORDER_DETAIL_MONEY</pre>
	 **/
	private Float orderDetailMoney;


	/**
	 * <pre>获取订单详情编号</pre>
	 **/
	public Long getOrderDetailId() {
        return orderDetailId;
    }

	/**
	 * <pre>设置订单详情编号</pre>
	 **/
    public void setOrderDetailId(Long orderDetailId) {
        this.orderDetailId = orderDetailId;
    }

	/**
	 * <pre>获取产品编号</pre>
	 **/
	public Long getProductId() {
        return productId;
    }

	/**
	 * <pre>设置产品编号</pre>
	 **/
    public void setProductId(Long productId) {
        this.productId = productId;
    }

	/**
	 * <pre>获取订单编号</pre>
	 **/
	public Long getOrderId() {
        return orderId;
    }

	/**
	 * <pre>设置订单编号</pre>
	 **/
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

	/**
	 * <pre>获取订单详情商品数量</pre>
	 **/
	public Integer getOrderDetailNum() {
        return orderDetailNum;
    }

	/**
	 * <pre>设置订单详情商品数量</pre>
	 **/
    public void setOrderDetailNum(Integer orderDetailNum) {
        this.orderDetailNum = orderDetailNum;
    }

	/**
	 * <pre>获取订单详情实际价格</pre>
	 **/
	public Float getOrderDetailMoney() {
        return orderDetailMoney;
    }

	/**
	 * <pre>设置订单详情实际价格</pre>
	 **/
    public void setOrderDetailMoney(Float orderDetailMoney) {
        this.orderDetailMoney = orderDetailMoney;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("orderDetailId=");
    	str.append(orderDetailId);
    	str.append(", ");
    	str.append("productId=");
    	str.append(productId);
    	str.append(", ");
    	str.append("orderId=");
    	str.append(orderId);
    	str.append(", ");
    	str.append("orderDetailNum=");
    	str.append(orderDetailNum);
    	str.append(", ");
    	str.append("orderDetailMoney=");
    	str.append(orderDetailMoney);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}